package com.zelma.consumer.dao;

import com.zelma.consumer.entity.SignEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author zelma
 * @email 1239115389@qq.com
 * @date 2022-01-06 17:00:48
 */
@Mapper
public interface SignDao extends BaseMapper<SignEntity> {


    List<SignEntity> getBygroupbuyId(Integer groupbuyId);

    SignEntity isByuserId(@Param("groupbuyId") Integer groupbuyId,
                                @Param("userId") Integer userId);
}
